package cn.edu.sdju.wanglo1911.team10.service;

import java.util.List;

import cn.edu.sdju.wanglo1911.team10.po.ShoppingCartItem;

public interface ShoppingCartService {
	List<ShoppingCartItem> getAllItemByUserId(String userId);
	ShoppingCartItem getItemById(ShoppingCartItem item);
	boolean insertItem(ShoppingCartItem item);
	void updateItem(ShoppingCartItem item);
	void deleteAllByUserId(String userId);
	void deleteItem(ShoppingCartItem item);
}
